<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>圈圈生活</title>
<link href="${pageContext.request.contextPath}/res/css/common.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="${pageContext.request.contextPath}/res/lib/jquery/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/res/lib/namespace.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/common.js"></script>
<script type="text/javascript">
var contextPath='${pageContext.request.contextPath}';
</script>
<%@include file="../res/include/base-head.jsp"%>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/res/css/index.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/login.js"></script> 
</head>
<body class="login_body">
	<div class="login">
	    <div class="login_form">
	        <form name="loginForm" id="login-form" method="post">						
	            <dl>
	                <dt><label for="username">用户名：</label></dt>
	                <dd><input type="text" id="name" name="name" class="txt_user username easyui-validatebox" maxlength="32" data-options="required:true,missingMessage:'请输入用户名！'"/></dd>
	            </dl>
	            <dl>
	                <dt><label for="password">密<em>码</em>：</label></dt>
	                <dd><input type="password" name="password" id="password" class="txt_pwd password easyui-validatebox" maxlength="32" data-options="required:true,missingMessage:'请输入密码！'"/></dd>
	            </dl>
	            <dl>
	                <dt><label for="validateCode">验证码：</label></dt>
	                <dd>
	                    <input type="text" id="verifyCode" name="verifyCode" class="txt_code easyui-validatebox" maxlength="5" />
	                    <a href="javascript:void(0);">
	                    	<img id="imgVerifyCode" src="${pageContext.request.contextPath}/user/admin/verify" width="150" height="50" alt="验证码"
								onclick="getVerifycode();"/>
	                    </a>
	                </dd>
	            </dl>
	            <p class="login_btn"><input type="submit" value="登 录" class="btn_login" onclick="login();return false;" /></p>
	            <div id="system-msg" style="display: none;color: white;"></div>
	        </form>
	    </div>
	</div>
</body>
</html>
